﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<#include "/pages/include/include.ftl" />
<style type="text/css" media="screen"> 
			html, body	{ height:100%; }
			body { margin:0; padding:0; overflow:auto; }   
			#flashContent { display:none; }
</style> 
<script type="text/javascript" src="${contextPath}/js/swfobject.js"></script>
<script type="text/javascript">
	$(function(){
		$("#layout1").ligerLayout({ leftWidth: 180,topHeight:70,allowTopResize:false,allowLeftResize:false,allowLeftCollapse:false,InWindow:true,space:3});
		$('#FlexPaperViewer').css('height',$("#layout1").height()-60);
	});
</script>
</head> 
    <body> 
        
<div id="layout1" >
	<div position="center" align="center">
	        
	        <script type="text/javascript"> 
			var swfVersionStr = "10.0.0";
            <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
            var xiSwfUrlStr = "playerProductInstall.swf";
            var flashvars = {SwfFile :"${path}",
            			 Scale : 0.6, 
						 ZoomTransition : 'easeOut',
						 ZoomTime : 0.5,
						 ZoomInterval : 0.2,
						 FitPageOnLoad : true,
						 FitWidthOnLoad : true,
						 FullScreenAsMaxWindow : false,
						 ProgressiveLoading : false,
						 MinZoomSize : 0.2,
						 MaxZoomSize : 5,
						 SearchMatchAll : false,
						 InitViewMode : 'Portrait',
						 
						 ViewModeToolsVisible : true,
						 ZoomToolsVisible : true,
						 NavToolsVisible : true,
  						 PrintEnabled : true,
  						 localeChain: 'zh_CN'};
            var params = {};
            params.quality = "high";
            params.bgcolor = "#ffffff";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            var attributes = {};
            attributes.id = "test";
            attributes.name = "test";
            attributes.align = "middle";
            swfobject.embedSWF(
                "${contextPath}/swf/test.swf", "flashContent", 
                "100%", "100%", 
                swfVersionStr, xiSwfUrlStr, 
                flashvars, params, attributes);
            swfobject.createCSS("#flashContent", "display:block;text-align:left;");    
	      </script>
	       <div id="flashContent">
        </div>
	</div>
	<#include "/pages/include/bottom.ftl" />
</div>
   </body> 
</html> 
